﻿using System;
using Microsoft.Phone.Controls.Maps;

namespace iTraffic_ClientWP
{
    public class GTileSource : TileSource
    {
        public override Uri GetUri(int x, int y, int zoomLevel)
        {
            if (zoomLevel > 0)
            {
                return new Uri("http://mt" + 0 + ".google.com/vt/lyrs=" + 'm' + "&z=" + zoomLevel + "&x=" + x + "&y=" + y);
            }
            return null;
        }
    }
}
